#ifndef __ATTLIST_H__
#define __ATTLIST_H__

#include <string>
#include <list>
#include <iostream>
#include "Printer.h"

//STRUCTURE MEMOIRE DTD
//
//Liste d'attribut

using namespace std;

class Attribut;

class AttList : public Printer
{
	public:
		/* Constructeur */
		AttList();
		AttList( const string& pname );
		/* Destructeur */
		virtual ~AttList();
		/* Setters */
		void setName(const string& pname);
		/* Getters */
		const string& 		getName() const;
		const list<Attribut*>&	getList() const;

		/* Insertion d'un nouvel attribut dans la liste */
		void /*__forceinline*/ addAttribut( Attribut* attrib );

		void printMe();

	private:
		string		name;
		list<Attribut*>	listBinded;
};

#endif // #define __ATTLIST_H__

